<html>
<head><meta charset="utf-8"><title>master build broken? · t-cargo · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/index.html">t-cargo</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/master.20build.20broken.3F.html">master build broken?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="211333027"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/master%20build%20broken%3F/near/211333027" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/master.20build.20broken.3F.html#211333027">(Sep 26 2020 at 00:51)</a>:</h4>
<div class="codehilite"><pre><span></span><code>SDKROOT=$(xcrun -sdk macosx11.0 --show-sdk-path) MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.0 --show-sdk-platform-version) cargo +462ec6baef52edea591eab1a070ed4e18b80d094 build --features vendored-openssl
</code></pre></div>


<div class="codehilite"><pre><span></span><code>error[E0308]: mismatched types
   --&gt; src/cargo/util/paths.rs:489:49
    |
489 |     let tempdir = TempFileBuilder::new().prefix(base).tempdir_in(parent)?;
    |                                                 ^^^^ expected `str`, found struct `OsStr`
    |
    = note: expected reference `&amp;str`
               found reference `&amp;OsStr`
</code></pre></div>



<a name="211333261"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/master%20build%20broken%3F/near/211333261" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/master.20build.20broken.3F.html#211333261">(Sep 26 2020 at 00:56)</a>:</h4>
<p><span class="user-mention" data-user-id="116155">@Jake Goulding</span> Are you building in the <code>rust-lang/rust</code> repo?  If not, you may want to delete or update <code>Cargo.lock</code>.</p>



<a name="211333264"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/master%20build%20broken%3F/near/211333264" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/master.20build.20broken.3F.html#211333264">(Sep 26 2020 at 00:56)</a>:</h4>
<p>Repros with</p>
<div class="codehilite"><pre><span></span><code>cargo +nightly build --features vendored-openssl
</code></pre></div>


<p>as well.</p>



<a name="211333268"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/master%20build%20broken%3F/near/211333268" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/master.20build.20broken.3F.html#211333268">(Sep 26 2020 at 00:56)</a>:</h4>
<p>Older versions of <code>tempfile</code> only accepted <code>str</code>.</p>



<a name="211333269"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/master%20build%20broken%3F/near/211333269" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/master.20build.20broken.3F.html#211333269">(Sep 26 2020 at 00:56)</a>:</h4>
<p><span class="user-mention" data-user-id="120518">@Eric Huss</span> I am just in cargo by itself.</p>



<a name="211333274"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/master%20build%20broken%3F/near/211333274" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/master.20build.20broken.3F.html#211333274">(Sep 26 2020 at 00:56)</a>:</h4>
<p>at <code>05c611ae3c4255b7a2bcf4fcfa65b20286a07839</code></p>



<a name="211333277"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/master%20build%20broken%3F/near/211333277" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/master.20build.20broken.3F.html#211333277">(Sep 26 2020 at 00:56)</a>:</h4>
<p>Yea, I'd just delete <code>Cargo.lock</code>.</p>



<a name="211333284"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/master%20build%20broken%3F/near/211333284" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/master.20build.20broken.3F.html#211333284">(Sep 26 2020 at 00:57)</a>:</h4>
<p>oh, I misread your "not"</p>



<a name="211333295"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/master%20build%20broken%3F/near/211333295" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/master.20build.20broken.3F.html#211333295">(Sep 26 2020 at 00:57)</a>:</h4>
<p>Someday hopefully we'll get minimal version checks working.</p>



<a name="211333393"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/master%20build%20broken%3F/near/211333393" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/master.20build.20broken.3F.html#211333393">(Sep 26 2020 at 00:59)</a>:</h4>
<p>There we go:</p>
<div class="codehilite"><pre><span></span><code> % SDKROOT=$(xcrun -sdk macosx11.0 --show-sdk-path) MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.0 --show-sdk-platform-version) cargo +462ec6baef52edea591eab1a070ed4e18b80d094 build --target=aarch64-apple-darwin --features vendored-openssl

    Finished dev [unoptimized + debuginfo] target(s) in 1m 34s
</code></pre></div>



<a name="211333446"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/master%20build%20broken%3F/near/211333446" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/master.20build.20broken.3F.html#211333446">(Sep 26 2020 at 01:00)</a>:</h4>
<p>Now I can add "patched openssl" to the old resume</p>



<a name="211333448"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/master%20build%20broken%3F/near/211333448" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/master.20build.20broken.3F.html#211333448">(Sep 26 2020 at 01:00)</a>:</h4>
<p>(With a hefty asterisk, of course)</p>



<a name="211333459"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/master%20build%20broken%3F/near/211333459" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/master.20build.20broken.3F.html#211333459">(Sep 26 2020 at 01:00)</a>:</h4>
<p>Thank you!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>